﻿//-----------------------------------------------------------------------
// <copyright file="HomeController.cs" company="CronopioDD">
//     Copyright CronopioDD. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ProyectoGoya.Controllers
{
    using System.Web.Mvc;

    /// <summary>
    /// HomeController class
    /// </summary>
    public class HomeController : Controller
    {
        #region Public Methods

        /// <summary>
        /// GET: /Home/
        /// </summary>
        /// <returns>Index View</returns>
        public ActionResult Index()
        {
            return this.View();
        }

        /// <summary>
        /// GET: /Home/SaveSuccessful
        /// </summary>
        /// <returns>_SaveSuccessfulPartial Partial View</returns>
        public PartialViewResult SaveSuccessful()
        {
            ViewBag.SaveSuccessful = true;

            return this.PartialView("_SaveSuccessfulPartial");
        }

        #endregion
    }
}
